package com.wechat.back.pojo.inform;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.Default;
import lombok.Data;

import java.time.LocalDateTime;
@Data
public class NoticeData {
    private int id;
    @NotEmpty
    private String noticeTitle;
    @NotEmpty
    private String noticeContent;
    @NotEmpty
    private String noticeType;
    private LocalDateTime createTime;//创建时间

    private LocalDateTime updateTime;//更新时间

    public interface Add extends Default {

    }
    public interface Update extends Default{

    }
}
